package cn.itsub.proxy.common.model;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode
public class Metrics implements Serializable {

    private static final long serialVersionUID = 1L;

    public int port;           //端口号

    public long readBytes;     //读字节数

    public long wroteBytes;    //写字节数

    public long readMsgs;      //读消息数

    public long wroteMsgs;     //写消息数

    public int concurrency;       //连接数

    public long timestamp;     //时间戳


}